/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sun.distributor.dao;

import com.sun.distributor.dbconnector.DBConnectionManager;
import com.sun.distributor.exceptions.InitException;
import java.sql.Connection;

/**
 *
 * @author Administrateur
 */
public abstract class Abstract_DAO {

    protected Connection getConnection() throws InitException {
            DBConnectionManager dbconnector = DBConnectionManager.getInstance("C:/Documents and Settings/Administrateur/Mes documents/NetBeansProjects/Distributor_WS/src/java/com/sun/distributor/dbconnector");
            return dbconnector.getConnection("cotations");
    }
}
